package com.mnxc.gxa.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class DeptDTO {
    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "部门名称")
    private String title;

    @ApiModelProperty(value = "父级ID")
    private Long pid;
    @ApiModelProperty(value = "父级名称")
    private String parentName;

    @ApiModelProperty(value = "所有父级编号")
    private String pids;

    @ApiModelProperty(value = "状态（1:正常,2:冻结,3:删除）")
    private Integer status;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建时间")

    private LocalDateTime createDate;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateDate;

    @ApiModelProperty(value = "创建用户id")
    private Long createBy;

    @ApiModelProperty(value = "更新用户id")
    private Long updateBy;

    //用户
    @ApiModelProperty(value = "创建用户名")
    private String createName;

    @ApiModelProperty(value = "更新用户名")
    private String updateName;
}
